{% extends  'partials/base.html' %}
{% block title %}删除订单{% endblock %}
{% load crispy_forms_tags %}
{% block content %}
{% include 'partials/topside.html' %}
<div class="container">
    <div class="row-mt-5">
        <div class="col-md-6 offset-md-3">
            <div class="border bg-white p-3">
            <h3>订单删除<h3>
                <hr>
                <div class="alert alert-danger">
                    你确定要删除这个订单？
                </div>
                <form method="POST" class="uniForm" action="">
                    {% csrf_token %}
                    <h4>你要删除[{{order.product}}]</h4>
                    <a class="btn btn-info" href="{% url 'dashboard-order' %}">取消</a>
                    <input class="btn btn-info" type="submit" value="删除">
                </form>
            </div>
        </div>
    </div>
</div>
{% endblock %}
